package com.pinganfu.tesla.iwallet.session;

import com.pinganfu.tesla.iwallet.bean.UserPref;

public class SessionManager {

	private static SessionManager instance = new SessionManager();
	/**
	 * 版本代码
	 */
	private int appVerCode = -1;
	/**
	 * 版本名称
	 */
	private String appVerName = null;
	/**
	 * 当前手机号码
	 */
	private String mobileNo = null;
	/**
	 * 上次登录钱包的用户信息
	 */
	private UserPref userPref = null;

	private SessionManager() {
		super();
	}

	public static SessionManager getInstance() {
		return instance;
	}

	public int getAppVerCode() {
		return appVerCode;
	}

	public void setAppVerCode(int appVerCode) {
		this.appVerCode = appVerCode;
	}

	public String getAppVerName() {
		return appVerName;
	}

	public void setAppVerName(String appVerName) {
		this.appVerName = appVerName;
	}

	public String getMobileNo() {
		return mobileNo;
	}

	public void setMobileNo(String mobileNo) {
		this.mobileNo = mobileNo;
	}

	public UserPref getUserPref() {
		return userPref;
	}

	public void setUserPref(UserPref userPref) {
		this.userPref = userPref;
	}
}
